import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "lib-flexible"
import QRCode from 'qrcodejs2'
Vue.config.productionTip = false

import {
    Button,
    Cell,
    CellGroup,
    Icon,
    Field,
    Swipe,
    SwipeItem,
    Toast,
    Tabbar,
    TabbarItem,
    Form,
    NavBar,
    Popup,
    Calendar,
    DropdownMenu,
    DropdownItem,
    Search,
    Tab,
    Tabs,
    Empty
} from 'vant';
// import axios from 'axios'
// Vue.prototype.$axios= axios
Vue.use(Button);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Icon);
Vue.use(Field);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.prototype.$Toast = Toast;
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Form);
Vue.use(NavBar);
Vue.use(Popup);
Vue.use(Calendar);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Search);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Empty);

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')